﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/FacebookApp/Views/Shared/FacebookApp.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<%@ Import Namespace="FaceSharp.MVC.Code.Facebook" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">Index</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Default Application Landing Page</h2>

    <p>This example shows that the default landing page of the app does not need to be authenticated.</p>

    <p><b>Note, continuing on will require authentication, since the examples exercise various aspects of Facebook functionality, there will be a lot of permissions listed in the dialog.</b></p>

    <h3><% =Html.ActionLink("> Continue on to Test Suite","Index","Test") %></h3>

    <hr noshade />
    <h3>Like Button : XFBML - Like FaceSharp Fan Page</h3><br />
    <fb:like href="http://www.facebook.com/facesharp" show_faces="true" width="450" font=""></fb:like>
    <br /><br />

    <h3>Like Button : XFBML - Like current page</h3><br />
    <fb:like href="<% =new FacebookCore().ApplicationUrl %>" show_faces="true" width="450" font=""></fb:like>
    <br /><br />

    <h3>Like Button : XFBML - Like app page</h3><br />
    <fb:like href="http://www.facebook.com/apps/application.php?id=<% =new FacebookCore().ApplicationId %>" show_faces="true" width="450" font=""></fb:like>
    <br /><br />
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="PageBottomContent" runat="server">
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="PageSpecificJsDomReadyMethods" runat="server">

</asp:Content>

<asp:Content ID="Content6" ContentPlaceHolderID="PageSpecificJs" runat="server">
</asp:Content>